package com.hdl.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * MALL_ORDER表实体类
 * @author Administrator
 *
 */
public class MallOrder {
	
	/**
	 * mallOrderId 订单表id
	 */
	private String mallOrderId;
	
	/**
	 * user 具体的用户对象
	 */
	/* private String hdlUserId; */
	private HdlUser user;
	
	/**
	 * mallOrderDate 订单创建的时间
	 */
	private Date mallOrderDate;
	
	/**
	 * mallOrderCash 订单的金额
	 */
	private Integer mallOrderCash;
	
	/**
	 * mallOrderName 订单收货人的名字
	 */
	private String mallOrderName;
	
	/**
	 * mallOrderPhone 订单所有者的电话
	 */
	private String mallOrderPhone;
	
	/**
	 * mallOrderAddress 订单所有者选择的地址
	 */
	private String mallOrderAddress;
	
	/**
	 * mallOrderStatus 订单的状态
	 */
	private Integer mallOrderStatus;
	
	/**
	 * mallOrderNum 订单编号
	 */
	private String mallOrderNum;
	
	/**
	 * mallOrderPayfortime 订单支付的时间
	 */
	private Date mallOrderPayfortime;
	
	/**
	 * mallOrderSendtime 发货时间
	 */
	private Date mallOrderSendtime;
	
	/**
	 * list 存放订单详情的集合
	 */
	public List<MallOrderDetail> list = new ArrayList<MallOrderDetail>();

	public String getMallOrderId() {
		return mallOrderId;
	}

	public void setMallOrderId(String mallOrderId) {
		this.mallOrderId = mallOrderId;
	}

	public HdlUser getUser() {
		return user;
	}

	public void setUser(HdlUser user) {
		this.user = user;
	}

	public Date getMallOrderDate() {
		return mallOrderDate;
	}

	public void setMallOrderDate(Date mallOrderDate) {
		this.mallOrderDate = mallOrderDate;
	}

	public Integer getMallOrderCash() {
		return mallOrderCash;
	}

	public void setMallOrderCash(Integer mallOrderCash) {
		this.mallOrderCash = mallOrderCash;
	}

	public String getMallOrderName() {
		return mallOrderName;
	}

	public void setMallOrderName(String mallOrderName) {
		this.mallOrderName = mallOrderName;
	}

	public String getMallOrderPhone() {
		return mallOrderPhone;
	}

	public void setMallOrderPhone(String mallOrderPhone) {
		this.mallOrderPhone = mallOrderPhone;
	}

	public String getMallOrderAddress() {
		return mallOrderAddress;
	}

	public void setMallOrderAddress(String mallOrderAddress) {
		this.mallOrderAddress = mallOrderAddress;
	}

	public Integer getMallOrderStatus() {
		return mallOrderStatus;
	}

	public void setMallOrderStatus(Integer mallOrderStatus) {
		this.mallOrderStatus = mallOrderStatus;
	}

	public String getMallOrderNum() {
		return mallOrderNum;
	}

	public void setMallOrderNum(String mallOrderNum) {
		this.mallOrderNum = mallOrderNum;
	}

	public Date getMallOrderPayfortime() {
		return mallOrderPayfortime;
	}

	public void setMallOrderPayfortime(Date mallOrderPayfortime) {
		this.mallOrderPayfortime = mallOrderPayfortime;
	}

	public List<MallOrderDetail> getList() {
		return list;
	}

	public Date getMallOrderSendtime() {
		return mallOrderSendtime;
	}

	public void setMallOrderSendtime(Date mallOrderSendtime) {
		this.mallOrderSendtime = mallOrderSendtime;
	}

	@Override
	public String toString() {
		return "MallOrder [mallOrderId=" + mallOrderId + ", user=" + user + ", mallOrderDate=" + mallOrderDate
				+ ", mallOrderCash=" + mallOrderCash + ", mallOrderName=" + mallOrderName + ", mallOrderPhone="
				+ mallOrderPhone + ", mallOrderAddress=" + mallOrderAddress + ", mallOrderStatus=" + mallOrderStatus
				+ ", mallOrderNum=" + mallOrderNum + ", mallOrderPayfortime=" + mallOrderPayfortime
				+ ", mallOrderSendtime=" + mallOrderSendtime + ", list=" + list + "]";
	}

	
}
